<?php
/**
 * class App_Controller_Index
 *
 * @author kim
 */
class App_Controller_Index extends Zend_Controller_Action
{
    /**
     * default action
     */
    public function indexAction()
    {
        $this->view->formSearch = new App_Form_Place_Search();

        $user = new App_Model_User();
        $this->view->topReviewers = $user->getTopReviewers();

        $review = new App_Model_Review();
        $this->view->reviews = $review->getReviews(5);

        $place = new App_Model_Place();
        $this->view->restaurants = $place->getTopRestaurants();
    }

}
